﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EyeOfTheWorld
{
    public class Page
    {
        List<Link> connections;
        public int Number { get; set; }
        public string Address { get; set; }
        public string Label { get; set; }
        public string Discoverer { get; set; }
        public string State { get; set; }
        public int ID { get; private set; }
        public List<Link> Connections { get { return this.connections; } }

        public Page(int id) { connections = new List<Link>(); State = "unvisited"; }
        public Page(string address) { Address = address; State = "unvisited"; connections = new List<Link>(); }
    }
}
